gltexture: Make release() use download_texture()
authorBenjamin Otte <otte@redhat.com>
Sun, 12 Sep 2021 03:11:58 +0000 (05:11 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 12 Sep 2021 03:22:21 +0000 (05:22 +0200)
commit74ce69a8a1187c9f4b65a0f8d38363f0d83b7574
tree1b39dd93b264da8010b23b049cbdcf82e7be84b6
parent4f17f3ac240117ae38cd83e3c8140a4b2a8dccff
gltexture: Make release() use download_texture()

1. It avoids Cairo, and in particular conversion to Cairo.

2. Keeping a texture allows easy chaining in the vfuncs.

3. Using a texture means releasing will work for HDR formats
   too, once we add them.
gdk/gdkgltexture.c